package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题对象 t_question
 *
 * @author ruoyi
 * @date 2024-11-30
 */
public class TQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题库ID */
    @Excel(name = "题库ID")
    private Long bId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long cpId;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private String type;

    /** 题目内容 */
    @Excel(name = "题目内容")
    private String content;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 答案图片 */
    @Excel(name = "答案图片")
    private String anImg;

    /** 分析 */
    @Excel(name = "分析")
    private String analyse;

    /** 分析图 */
    @Excel(name = "分析图")
    private String anaChart;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setbId(Long bId)
    {
        this.bId = bId;
    }

    public Long getbId()
    {
        return bId;
    }
    public void setCpId(Long cpId)
    {
        this.cpId = cpId;
    }

    public Long getCpId()
    {
        return cpId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return answer;
    }
    public void setAnImg(String anImg)
    {
        this.anImg = anImg;
    }

    public String getAnImg()
    {
        return anImg;
    }
    public void setAnalyse(String analyse)
    {
        this.analyse = analyse;
    }

    public String getAnalyse()
    {
        return analyse;
    }
    public void setAnaChart(String anaChart)
    {
        this.anaChart = anaChart;
    }

    public String getAnaChart()
    {
        return anaChart;
    }
    public void setIsDelete(Long isDelete)
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("bId", getbId())
                .append("cpId", getCpId())
                .append("type", getType())
                .append("content", getContent())
                .append("image", getImage())
                .append("answer", getAnswer())
                .append("anImg", getAnImg())
                .append("analyse", getAnalyse())
                .append("anaChart", getAnaChart())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("isDelete", getIsDelete())
                .append("remark", getRemark())
                .toString();
    }
}
